import Layout from '@/views/layout/Layout'

export default {
  path: '/profitManage',
  component: Layout,
  alwaysShow: true,
  name: 'profitManage',
  redirect: 'noredirect',
  meta: {
    title: '收益管理',
    icon: 'component',
    resources: 'profitManage'
  },
  children: [
    {
      path: 'transactionType',
      component: () => import('@/views/profit-manage/transactionType'),
      name: 'transactionType',
      meta: {title: '交易类型', icon: 'my-user', noCache: true, resources: 'transactionType'}
    },
    {
      path: 'roomGift',
      component: () => import('@/views/profit-manage/roomGift'),
      name: 'roomGift',
      meta: {title: '房间礼物', icon: 'my-role', noCache: true, resources: 'roomGift'}
    },
    {
      path: 'gameGift',
      component: () => import('@/views/profit-manage/gameGift'),
      name: 'gameGift',
      meta: {title: '游戏礼物', icon: 'my-user', noCache: true, resources: 'gameGift'}
    },
    {
      path: 'jackpotGift',
      component: () => import('@/views/profit-manage/jackpotGift'),
      name: 'jackpotGift',
      meta: {title: '奖池礼物', icon: 'my-role', noCache: true, resources: 'jackpotGift'}
    },
    {
      path: 'hallWater',
      component: () => import('@/views/profit-manage/hallWater'),
      name: 'hallWater',
      meta: {title: '厅流水', icon: 'my-user', noCache: true, resources: 'hallWater'}
    },
    {
      path: 'userWater',
      component: () => import('@/views/profit-manage/userWater'),
      name: 'userWater',
      meta: {title: '成员流水', icon: 'my-role', noCache: true, resources: 'userWater'}
    },
    {
      path: 'sendOrdersUserWater',
      component: () => import('@/views/profit-manage/sendOrdersUserWater'),
      name: 'sendOrdersUserWater',
      meta: {title: '派单厅成员流水', icon: 'my-role', noCache: true, resources: 'sendOrdersUserWater'}
    },
  ]
}
